package com.atguigu.spzx.user;

import com.atguigu.spzx.service.annotation.EnableUserLoginAuthInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * ClassName: UserApplication
 * Package: com.atguigu.spzx.user
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/16 3:09
 * @Version 1.0
 */
@SpringBootApplication
@EnableUserLoginAuthInterceptor  // 开启用户登录认证拦截器 -> 将配置了用户登录认证拦截器的springmvc配置类加入ioc
@ComponentScan(basePackages = "com.atguigu.spzx")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
